package com.wnnight.wys.vo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @ClassName: LoginVo
 * @Description: //TODO
 * @author: dz
 * @date: 2022-09-01-11:36
 */

@Getter
@Setter
@ToString
public class LoginVo {
    @NotNull(message = "账号不能为空")
    @Size(min = 3,max = 15,message = "账号长度应在3-15之间")
    private String account;
    @NotNull(message = "密码不能为空")
    @Size(min = 3,max = 15,message = "密码长度应在3-15之间")
    private  String password;
    @NotNull(message = "验证码不能为空")
    private  String code; //验证码


}
